package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 商品类别表
 *
 * @TableName sys_product_cate
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_product_cate")
@Data
public class ProductCateDO extends BaseEntity implements Serializable {
    /**
     * 类别id
     */
    @TableId
    @Schema(description = "类别id")
    private Long id;

    /**
     * 类别名称
     */
    @Schema(description = "类别名称")
    private String cateName;

    /**
     * 类别信息
     */
    @Schema(description = "类别信息")
    private String description;

    /**
     * 逻辑删除
     */
    @Schema(description = "逻辑删除")
    private Boolean deleted;
}